/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package net.stuffrepos.bricknetcenter.util.gui.inputtable;

import javax.swing.table.TableCellEditor;
import javax.swing.table.TableCellRenderer;

/**
 *
 * @author Eduardo H. Bogoni <eduardobogoni@gmail.com>
 */
public interface InputCell<ValueType> {

    public TableCellEditor getEditor();

    public TableCellRenderer getValidValueRenderer();

    public TableCellRenderer getInvalidValueRenderer();

    public ValueType parseValue(Object obj);

    public boolean isValidValue(Object obj);
}
